<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>新增字典</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/demo.css" type="text/css"/>
  	<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/style.css" type="text/css"/>
  	<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/jquery-1.9.1.min.js"></script>
  </head>
  
  <body>
    <form id="myForm" name="myForm" method="post" action="<%=request.getContextPath()%>/baseinfo!addBaseinfo.action" class="myform" enctype="multipart/form-data"
    	 suc_url="<%=request.getContextPath() %>/baseinfo!baseinfoList.action">
    		<table  style="width: 1000px;" >
	 			<tr>
		 			<td>类别编码：</td>
		 			<td style="width: 200px;">
		 				<input  id="classid" name="classid"  type="text"  class="inputxt" datatype="*" errormsg="只能为数字!" />
		 			</td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 		 	<tr>
		 			<td>类别名称：</td>
		 			<td>
	 					<input  id="classname" name="classname"  type="text"  class="inputxt" datatype="*" errormsg="名称不能为空!" />
		 			</td>
		 				<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>信息级别：</td>
		 			<td>
		 				<select name="classlv" id="classlv">
		 					<option value="0">全系统 </option>
		 					<option value="1">子系统</option>
		 					<option value="2">单位 </option>
		 					<option value="3">用户  </option>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>目标编码：</td>
		 			<td style="width: 200px;">
		 				<select name="targetid" id="targetid">
		 					<option value="0">全系统 </option>
		 					<option value="1">子系统</option>
		 					<option value="2">单位 </option>
		 					<option value="3">用户  </option>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>信息编码：</td>
		 			<td style="width: 200px;"><input  id="code" name="code"  type="text"  class="inputxt" datatype="*" errormsg="信息编码不能为空!" /></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>值：</td>
		 			<td style="width: 200px;"><input  id="value" name="value"  type="text"  class="inputxt" datatype="*" errormsg="字典值不能为空!" /></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>父节点：</td>
		 			<td style="width: 200px;"><input  id="code_parent" name="code_parent"  type="text"  class="inputxt" datatype=""  ignore="ignore" errormsg="" /></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>拼音简码：</td>
		 			<td style="width: 200px;"><input  id="pyjm" name="pyjm"  type="text"  class="inputxt" datatype="*" errormsg="拼音简码不能为空!" /></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>排序：</td>
		 			<td><input  id="ordreid" name="orderid"  type="text" class="inputxt"  ignore="ignore" datatype="n" errormsg="请输入数字排序!" /></td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td>是否启用：</td>
		 			<td style="width: 200px;">
		 				是：<input type="radio" name="sfqy" value="1" checked="checked">
		 				否：<input type="radio" name="sfqy" value="0">
		 			</td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 			<tr>
		 			<td>标记：</td>
		 			<td>
		 				<select name="flag" id="flag">
		 					<option value="-1">无状态 </option>
		 					<option value="0">无期限</option>
		 					<option value="1">有期限</option>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td colspan="3"  > 
			 			<input id="btn_sub" value="提交" class="ajaxpost" type="submit"/> 
			 			<input value="重置"  type="reset" />
		 			</td>
	 			</tr>
 			</table>
    	</form>
  <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/jquery.form.js"></script>
  <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/validform/js/Validform_v5.3.2.js"></script>
  <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/common.js"></script>
  <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/opform.js"></script>
  </body>
</html>
